import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 引入i18n
import i18n from '@/i18n'
import App from './App.vue'
import router from './router/'
import store from './store'
import installIcons from '@/icons'
// filter全局过滤器
import installFilter from '@/filters'

// 引入登录鉴权
import  './permission'
const app = createApp(App)
// 初始化样式表
import '@/styles/index.scss'
app.use(ElementPlus)
installIcons(app)
installFilter(app)
app.use(router).use(store).use(i18n).mount('#app')